package com.atguigu.repository;

import com.atguigu.model.Product;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * 项目启动会扫描到持久层产生代理对象，扫描到实体类后会自动创建索引
 */
public interface ProductRepository extends ElasticsearchRepository<Product, String> {
}
